package com.ruicar.afs.cloud.apply.common.utils;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @description: 服务配置类型
 * @author: sijun.yu
 * @date: 2020/6/19 17:41
 */
@Configuration
@Data
public class ApplyConfig {

    /**
     * 案件服务
     */
    @Value("${com.greatwall.services.case-service.clientId}")
    private String caseClientId;
    @Value("${com.greatwall.services.case-service.clientSecret}")
    private String caseClientSecret;

    /**
     * 产品服务
     */
    @Value("${com.greatwall.services.product-service.clientId}")
    private String productClientId;
    @Value("${com.greatwall.services.product-service.clientSecret}")
    private String productClientSecret;

    /**
     * 渠道服务
     */
    @Value("${com.greatwall.services.channel-service.clientId}")
    private String channelClientId;
    @Value("${com.greatwall.services.channel-service.clientSecret}")
    private String channelClientSecret;

    /**
     * 进件授权服务
     */
    @Value("${com.greatwall.services.wow-admin.clientId}")
    private String adminClientId;
    @Value("${com.greatwall.services.wow-admin.clientSecret}")
    private String adminClientSecret;

    /**
     * 进件授权服务
     */
    @Value("${com.greatwall.services.manage.clientId}")
    private String contractClientId;
    @Value("${com.greatwall.services.manage.clientSecret}")
    private String contractClientSecret;

}
